package com.itcj.dmp.casename

object UtilCase {}

/**
  *标签表的实例
  */
case class tagcase(mainIp:String,ips:Map[String,String],tags:Map[String,Double])

/**
  * 顶点
  */
case class Vertex(id: String, ids: collection.Map[String, String], tags: collection.Map[String, Double])
/**
 * 边
 */
case class Edge(src: String, dst: String)
/**
 * 连通图
 */
case class VertexComponent(id: String, ids: collection.Map[String, String], tags: collection.Map[String, Double], component: Long)


/**
  * 落地到Kudu中的标签信息
  * @param mainId     主iD
  * @param ids        ID集合字符串 (k1:v1),(k2:v2)
  * @param tags       标签集合  (t1:1.3),(t2:2.2)
  */
case class Tags(mainId: String, ids: String, tags: String)